package com.ruoyi.zhgd.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.ruoyi.common.annotation.ExcelDictFormat;
import com.ruoyi.common.convert.ExcelDictConvert;
import lombok.Data;


/**
 * 自建部门树结构视图对象 zj_organization_structure_tree
 *
 * @author zyb
 * @date 2023-10-11
 */
@Data
@ExcelIgnoreUnannotated
public class ZjOrganizationStructureTreeVo {

    private static final long serialVersionUID = 1L;

    /**
     *
     */
    @ExcelProperty(value = "")
    private String id;

    /**
     * 父ID
     */
    @ExcelProperty(value = "父ID")
    private Long parentId;

    /**
     * 部门ID
     */
    @ExcelProperty(value = "部门ID")
    private Long deptId;

    /**
     * 部门名称
     */
    @ExcelProperty(value = "部门名称")
    private String deptName;

    /**
     * 状态（0  启用   1 停用）
     */
    @ExcelProperty(value = "状态", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "0=,启=用,1=,停=用")
    private String status;


}
